<h1>AddCategory</h1>
<%=form_for @category,url: build_categories_path do |f|%>
	<p><%=f.label "Name"%><%=f.text_field :name %></p>
	<%=f.hidden_field :parent_id ,value: @id%>
	<%=f.submit "创建"%>
<% end %>